public class Main3 {
    public static void main(String[] args) {
        String s = "printf(\"Hello world!\\n\");";
        String s2 = "cout << \"Hello world!\" << endl;";
        System.out.println(s);
        System.out.println(s2);
    }
}
